<?php
namespace app\common\validate;

use think\Validate;
use think\exception\ValidateException;

class Admin extends Validate
{
    protected $rule = [
        'username|用户名'  =>  'require',
        'password|密码'  =>  'require',
        'level_id|用户组'  =>  'require',
    ];

}